package com.sctvcloud.qingchuan.utils;

import com.google.gson.reflect.TypeToken;
import com.sctvcloud.qingchuan.beans.ADynamicsItem;
import com.sctvcloud.qingchuan.beans.AccountTagBean;
import com.sctvcloud.qingchuan.beans.AddrInfo;
import com.sctvcloud.qingchuan.beans.AdvertBean;
import com.sctvcloud.qingchuan.beans.ChatItem;
import com.sctvcloud.qingchuan.beans.ChooseCityBean;
import com.sctvcloud.qingchuan.beans.ConvertRecordBean;
import com.sctvcloud.qingchuan.beans.DeclareBean;
import com.sctvcloud.qingchuan.beans.FCityState;
import com.sctvcloud.qingchuan.beans.FProgram;
import com.sctvcloud.qingchuan.beans.FProgramme;
import com.sctvcloud.qingchuan.beans.FSubscribe;
import com.sctvcloud.qingchuan.beans.FocusColumn;
import com.sctvcloud.qingchuan.beans.LiveDynamic;
import com.sctvcloud.qingchuan.beans.LiveItem;
import com.sctvcloud.qingchuan.beans.NewsItem;
import com.sctvcloud.qingchuan.beans.PoliticsAccountBean;
import com.sctvcloud.qingchuan.beans.PoliticsAccountTag;
import com.sctvcloud.qingchuan.beans.PoliticsUpVideo;
import com.sctvcloud.qingchuan.beans.VoteOption;

import java.lang.reflect.Type;
import java.util.List;

/**
 * Created by liuyu on 2017/8/9.
 */


public class ListTypeUtils {
    public static Type FocusColums() {
        return new TypeToken<List<FocusColumn>>() {
        }.getType();
    }

    public static Type NewsItem() {
        return new TypeToken<List<NewsItem>>() {
        }.getType();
    }

    public static Type LiveItem() {
        return new TypeToken<List<LiveItem>>() {
        }.getType();
    }

    public static Type FProgramme() {
        return new TypeToken<List<FProgramme>>() {
        }.getType();
    }

    public static Type ADynamicItem() {
        return new TypeToken<List<ADynamicsItem>>() {
        }.getType();
    }
    public static Type FCityState() {
        return new TypeToken<List<FCityState>>() {
        }.getType();
    }
    public static Type FProgram() {
        return new TypeToken<List<FProgram>>() {
        }.getType();
    }

    public static Type VoteOption(){
        return new TypeToken<List<VoteOption>>() {
        }.getType();
    }
    public static Type FSubscribe(){
        return new TypeToken<List<FSubscribe>>() {
        }.getType();
    }
    public static Type ChatItem(){
        return new TypeToken<List<ChatItem>>() {
        }.getType();
    }

    public static Type LiveDynamic(){
        return new TypeToken<List<LiveDynamic>>() {
        }.getType();
    }

    public static Type ConvertRecord(){
        return new TypeToken<List<ConvertRecordBean>>() {
        }.getType();
    }

    public static Type AddrInfo(){
        return new TypeToken<List<AddrInfo>>() {
        }.getType();
    }
    public static Type ChooseCityBean(){
        return new TypeToken<List<ChooseCityBean>>() {
        }.getType();
    }

    public static Type AdvertBean() {
        return new TypeToken<List<AdvertBean>>() {
        }.getType();
    }

    public static Type AccountTagBean() {
        return new TypeToken<List<AccountTagBean>>() {
        }.getType();
    }
    public static Type PoliticsUpVideo() {
        return new TypeToken<List<PoliticsUpVideo>>() {
        }.getType();
    }

    public static Type PoliticsAccountTag() {
        return new TypeToken<List<PoliticsAccountTag>>() {
        }.getType();
    }
    public static Type PoliticsAccountBean() {
        return new TypeToken<List<PoliticsAccountBean>>() {
        }.getType();
    }

    public static Type DeclareBean() {
        return new TypeToken<List<DeclareBean>>() {
        }.getType();
    }
}
